home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
batch
/
dv_util
/
listarch.bat
< prev
next >
Wrap
DOS Batch File
|
1990-09-04
|
1KB
|
37 lines
echo off
cls : You must edit this batch file if the
: following assumptions are not true!
if (%1) == (zip) goto unzip : use pkunzip
if (%1) == (lzh) goto unlzh : use lharc
if (%1) == (arc) goto unarc : use pkxarc
if (%1) == (zoo) goto unzoo : use looz
if (%1) == (pak) goto unpak : use pak
: All programs should be in the DOS PATH
echo ┌───────────────────────────────────────────────────────────────┐
echo │ │
echo │ File suffix not standard for any known archival program! │
echo │ │
echo └───────────────────────────────────────────────────────────────┘
pause
goto exite
:unzip
pkunzip.exe -c %2 %3 %4 %5 %6 %7 %8 %9 >lz.xyz
goto doit
:unarc
pkxarc.exe -c %2 %3 %4 %5 %6 %7 %8 %9 >lz.xyz
goto doit
:unpak
pak.exe -p %2 %3 %4 %5 %6 %7 %8 %9 >lz.xyz
goto doit
:unzoo
looz.exe xp %2 %3 %4 %5 %6 %7 %8 %9 >lz.xyz
goto doit
:unlzh
lharc.exe p %2 %3 %4 %5 %6 %7 %8 %9 >lz.xyz
goto doit
:doit
list lz.xyz
del lz.xyz
:exite
exit